package com.kgc.sbt.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created on 2021-06-16.
 * <p>
 * Author: zhukang
 * <p>
 * Description: 微信支付配置信息类
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat.pay")
public class WxpayConfig {


    /**
     * 应用ID
     */
    private String appId;

    /**
     * 商户ID
     */
    private String mchId;

    /**
     * 商户秘钥
     */
    private String mchKey;

    /**
     * 统一支付下单接口
     */
    private String orderUrl;

    /**
     * 支付结果回调地址
     */
    private String notifyUrl;

}
